/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package exercicio15;

/**
 *
 * @author Caio
 */
public class Exercicio15 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Employees e = new Employees();
        e.Attach(new Clark());
        e.Attach(new Director());
        e.Attach(new President());
        
        
        e.Accept(new IncomeVisitor());
        e.Accept(new IncomeVisitor());
    }
    
}
